(()=>{"use strict";var e,_={},i={};function n(e){var a=i[e];if(void 0!==a)return a.exports;var r=i[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f=l)&&Object.keys(n.O).every(h=>n.O[h](r[t]))?r.splice(t--,1):(c=!1,l0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,o,[f,s,c]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(c)var b=c(n)}for(u&&u(l);v{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===w))return;const C=t.state!=p;C&&t._transitionTo(p,j),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(j,p):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,p,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(j,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,j,p);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:P,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=P,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=P,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=P,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class m{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(typeof window<"u"&&window||typeof self<"u"&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const A=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),je=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=A("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(je&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=A("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let P=Re[d];P||(P=Re[d]=A("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[P]&&m.removeEventListener(d,We),y&&y.call(m,null),m[P]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[P];if(m)return m;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const P=i(y,d);return P.cbIdx>=0&&"function"==typeof d[P.cbIdx]?Me(P.name,d[P.cbIdx],P,c):a.apply(y,d)})}function ue(e,n){e[A("OriginalDelegate")]=n}let ze=!1,Ae=!1;function ft(){if(ze)return Ae;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ae=!0)}catch{}return Ae}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],P=!0===e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),j=null,p=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const w=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},oe=y("currentTaskTrace");function z(l,u,s){const f=w();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===j){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(b){return f(()=>{z(l,!1,b)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==j)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(b){f(()=>{z(l,!1,b)})()}else{l[q]=u;const b=l[R];if(l[R]=s,l[_]===_&&u===p&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const T=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;T&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=b);const S=u.run(T,void 0,O&&T!==J&&T!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),p,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let T of u)f++,s.push(t.resolve(T))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const b=[];return new t((T,D)=>{for(let O=0;O{g||(g=!0,T(S))},S=>{b.push(S),f--,0===f&&(g=!0,D(new E(b,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function b(D){s(D)}function T(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(b,T);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,b=new this((S,V)=>{f=S,g=V}),T=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,T--,0===T&&f(O)},F=>{s?(O[V]=s.errorCallback(F),T--,0===T&&f(O)):g(F)})}catch(F){g(F)}T++,D++}return T-=2,0===T&&f(O),b}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=j,s[R]=[];try{const f=w();u&&u(f(I(s,p)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){var f;let g=null===(f=this.constructor)||void 0===f?void 0:f[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||t);const b=new g(M),T=n.current;return this[q]==j?this[R].push(T,b,u,s):ee(this,T,b,u,s),b}catch(u){return this.then(null,u)}finally(u){var s;let f=null===(s=this.constructor)||void 0===s?void 0:s[Symbol.species];(!f||"function"!=typeof f)&&(f=t);const g=new f(M);g[_]=_;const b=n.current;return this[q]==j?this[R].push(b,g,u,u):ee(this,b,g,u,u),g}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,b){return new t((D,O)=>{f.call(this,D,O)}).then(g,b)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=A("OriginalDelegate"),o=A("Promise"),c=A("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=A("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",P=A(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=p=>x.handleEvent(p),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(p){X=p}const j=R.options;return j&&"object"==typeof j&&j.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,j),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const j=[];if(1===X.length){const p=Z(X[0],x,_);p&&j.push(p)}else{const p=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let j=!1;_&&void 0!==_.rt&&(j=_.rt);let p=R;for(;p&&!p.hasOwnProperty(c);)p=de(p);if(!p&&R[c]&&(p=R),!p||p[P])return!1;const G=_&&_.eventNameToString,h={},I=p[P]=p[c],w=p[A(a)]=p[a],Q=p[A(y)]=p[y],oe=p[A(d)]=p[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}_&&_.prepend&&(z=p[A(_.prepend)]=p[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const b=g&&s.target[g];if(b)for(let T=0;Tfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,P,v){return P&&P.prototype&&c.forEach(function(m){const L=`${i}.${o}::`+m,Z=P.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(P.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],L))}catch{}}),y.call(n,d,P,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:je,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=A("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function P(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,P);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(m,L){const Z=L[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(P,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let P=0;P{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(je){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function P(v){const m=v.XMLHttpRequest;if(!m)return;const L=m.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,w=I.target;w[a]=!1,w[d]=!1;const Q=w[c];N||(N=w[Ze],B=w[Ne]),Q&&B.call(w,H,Q);const oe=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===J){const U=w[n.__symbol__("loadfalse")];if(0!==w.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=A("fetchTaskAborting"),j=A("fetchTaskScheduling"),p=le(L,"send",()=>function(h,I){if(!0===n.current[j]||h[o])return p.apply(h,I);{const w={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,w,q,_);h&&!0===h[d]&&!w.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const w=function Z(h){return h[i]}(h);if(w&&"string"==typeof w.type){if(null==w.cancelFn||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=A("xhrTask"),o=A("xhrSync"),c=A("xhrListener"),a=A("xhrScheduled"),y=A("xhrURL"),d=A("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const P=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(P,d),P})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const P=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(P)}})}}e.PromiseRejectionEvent&&(n[A("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[A("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=435)}]);"use strict";(self.webpackChunksimulator=self.webpackChunksimulator||[]).push([[179],{913:()=>{function te(e){return"function"==typeof e}function so(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ao=so(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function cr(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ht{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(te(r))try{r()}catch(i){t=i instanceof ao?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Al(i)}catch(s){t=t??[],s instanceof ao?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ao(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Al(t);else{if(t instanceof ht){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&cr(n,t)}remove(t){const{_finalizers:n}=this;n&&cr(n,t),t instanceof ht&&t._removeParent(this)}}ht.EMPTY=(()=>{const e=new ht;return e.closed=!0,e})();const Tl=ht.EMPTY;function xl(e){return e instanceof ht||e&&"closed"in e&&te(e.remove)&&te(e.add)&&te(e.unsubscribe)}function Al(e){te(e)?e():e.unsubscribe()}const nn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},uo={setTimeout(e,t,...n){const{delegate:r}=uo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=uo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Nl(e){uo.setTimeout(()=>{const{onUnhandledError:t}=nn;if(!t)throw e;t(e)})}function Pl(){}const oy=Ki("C",void 0,void 0);function Ki(e,t,n){return{kind:e,value:t,error:n}}let rn=null;function lo(e){if(nn.useDeprecatedSynchronousErrorHandling){const t=!rn;if(t&&(rn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=rn;if(rn=null,n)throw r}}else e()}class Qi extends ht{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,xl(t)&&t.add(this)):this.destination=dy}static create(t,n,r){return new dr(t,n,r)}next(t){this.isStopped?Ji(function sy(e){return Ki("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ji(function iy(e){return Ki("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ji(oy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const uy=Function.prototype.bind;function Yi(e,t){return uy.call(e,t)}class ly{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){co(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){co(r)}else co(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){co(n)}}}class dr extends Qi{constructor(t,n,r){let o;if(super(),te(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&nn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Yi(t.next,i),error:t.error&&Yi(t.error,i),complete:t.complete&&Yi(t.complete,i)}):o=t}this.destination=new ly(o)}}function co(e){nn.useDeprecatedSynchronousErrorHandling?function ay(e){nn.useDeprecatedSynchronousErrorHandling&&rn&&(rn.errorThrown=!0,rn.error=e)}(e):Nl(e)}function Ji(e,t){const{onStoppedNotification:n}=nn;n&&uo.setTimeout(()=>n(e,t))}const dy={closed:!0,next:Pl,error:function cy(e){throw e},complete:Pl},Xi="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fl(e){return e}let Me=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function hy(e){return e&&e instanceof Qi||function fy(e){return e&&te(e.next)&&te(e.error)&&te(e.complete)}(e)&&xl(e)}(n)?n:new dr(n,r,o);return lo(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Rl(r))((o,i)=>{const s=new dr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Xi](){return this}pipe(...n){return function Ol(e){return 0===e.length?Fl:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Rl(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Rl(e){var t;return null!==(t=e??nn.Promise)&&void 0!==t?t:Promise}const py=so(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let fo=(()=>{class e extends Me{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new kl(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new py}next(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Tl:(this.currentObservers=null,i.push(n),new ht(()=>{this.currentObservers=null,cr(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Me;return n.source=this,n}}return e.create=(t,n)=>new kl(t,n),e})();class kl extends fo{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Tl}}function on(e){return t=>{if(function gy(e){return te(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function sn(e,t,n,r,o){return new my(e,t,n,r,o)}class my extends Qi{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function wn(e,t){return on((n,r)=>{let o=0;n.subscribe(sn(r,i=>{r.next(e.call(t,i,o++))}))})}function Bt(e){return this instanceof Bt?(this.v=e,this):new Bt(e)}function jl(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Bt?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Bl(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function rs(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Hl=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function $l(e){return te(e?.then)}function Ul(e){return te(e[Xi])}function zl(e){return Symbol.asyncIterator&&te(e?.[Symbol.asyncIterator])}function Gl(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Wl=function Vy(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ql(e){return te(e?.[Wl])}function Zl(e){return jl(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Bt(n.read());if(o)return yield Bt(void 0);yield yield Bt(r)}}finally{n.releaseLock()}})}function Kl(e){return te(e?.getReader)}function Ht(e){if(e instanceof Me)return e;if(null!=e){if(Ul(e))return function jy(e){return new Me(t=>{const n=e[Xi]();if(te(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Hl(e))return function By(e){return new Me(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Nl)})}(e);if(zl(e))return Ql(e);if(ql(e))return function $y(e){return new Me(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Kl(e))return function Uy(e){return Ql(Zl(e))}(e)}throw Gl(e)}function Ql(e){return new Me(t=>{(function zy(e,t){var n,r,o,i;return function Ll(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Bl(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function $t(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ho(e,t,n=1/0){return te(t)?ho((r,o)=>wn((i,s)=>t(r,i,o,s))(Ht(e(r,o))),n):("number"==typeof t&&(n=t),on((r,o)=>function Gy(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l{i&&t.next(g),l++;let y=!1;Ht(n(g,c++)).subscribe(sn(t,v=>{o?.(v),i?h(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(l--;u.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(sn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const Yl=new Me(e=>e.complete());function os(e){return e[e.length-1]}function Jl(e){return function Zy(e){return e&&te(e.schedule)}(os(e))?e.pop():void 0}function Xl(e,t=0){return on((n,r)=>{n.subscribe(sn(r,o=>$t(r,e,()=>r.next(o),t),()=>$t(r,e,()=>r.complete(),t),o=>$t(r,e,()=>r.error(o),t)))})}function ec(e,t=0){return on((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function tc(e,t){if(!e)throw new Error("Iterable cannot be null");return new Me(n=>{$t(n,t,()=>{const r=e[Symbol.asyncIterator]();$t(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function nc(e,t){return t?function tD(e,t){if(null!=e){if(Ul(e))return function Qy(e,t){return Ht(e).pipe(ec(t),Xl(t))}(e,t);if(Hl(e))return function Jy(e,t){return new Me(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if($l(e))return function Yy(e,t){return Ht(e).pipe(ec(t),Xl(t))}(e,t);if(zl(e))return tc(e,t);if(ql(e))return function Xy(e,t){return new Me(n=>{let r;return $t(n,t,()=>{r=e[Wl](),$t(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>te(r?.return)&&r.return()})}(e,t);if(Kl(e))return function eD(e,t){return tc(Zl(e),t)}(e,t)}throw Gl(e)}(e,t):Ht(e)}function rc(...e){const t=Jl(e),n=function Ky(e,t){return"number"==typeof os(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Ht(r[0]):function Wy(e=1/0){return ho(Fl,e)}(n)(nc(r,t)):Yl}function is(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new dr({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function Z(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Z).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function as(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const rD=q({__forward_ref__:q});function us(e){return e.__forward_ref__=us,e.toString=function(){return Z(this())},e}function S(e){return function ls(e){return"function"==typeof e&&e.hasOwnProperty(rD)&&e.__forward_ref__===us}(e)?e():e}class I extends Error{constructor(t,n){super(function po(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function go(e,t){throw new I(-201,!1)}function Be(e,t){null==e&&function z(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function mo(e){return oc(e,yo)||oc(e,sc)}function oc(e,t){return e.hasOwnProperty(t)?e[t]:null}function ic(e){return e&&(e.hasOwnProperty(cs)||e.hasOwnProperty(dD))?e[cs]:null}const yo=q({\u0275prov:q}),cs=q({\u0275inj:q}),sc=q({ngInjectableDef:q}),dD=q({ngInjectorDef:q});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let ds;function Ke(e){const t=ds;return ds=e,t}function ac(e,t,n){const r=mo(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void go(Z(e))}function zt(e){return{toString:e}.toString()}var nt=(()=>((nt=nt||{})[nt.OnPush=0]="OnPush",nt[nt.Default=1]="Default",nt))(),pt=(()=>{return(e=pt||(pt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",pt;var e})();const K=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),En={},U=[],Do=q({\u0275cmp:q}),fs=q({\u0275dir:q}),hs=q({\u0275pipe:q}),uc=q({\u0275mod:q}),Mt=q({\u0275fac:q}),fr=q({__NG_ELEMENT_ID__:q});let hD=0;function vo(e){return zt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||U,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||pt.Emulated,id:"c"+hD++,styles:e.styles||U,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=dc(e.inputs,r),o.outputs=dc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(lc).filter(cc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Te).filter(cc):null,o})}function lc(e){return G(e)||Se(e)}function cc(e){return null!==e}function an(e){return zt(()=>({type:e.type,bootstrap:e.bootstrap||U,declarations:e.declarations||U,imports:e.imports||U,exports:e.exports||U,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function dc(e,t){if(null==e)return En;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Qe=vo;function Oe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function G(e){return e[Do]||null}function Se(e){return e[fs]||null}function Te(e){return e[hs]||null}const R=11,Q=22;function Re(e){return Array.isArray(e)&&"object"==typeof e[1]}function ot(e){return Array.isArray(e)&&!0===e[1]}function ms(e){return 0!=(8&e.flags)}function Co(e){return 2==(2&e.flags)}function bo(e){return 1==(1&e.flags)}function it(e){return null!==e.template}function vD(e){return 0!=(256&e[2])}function fn(e,t){return e.hasOwnProperty(Mt)?e[Mt]:null}class pc{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function gc(e){return e.type.prototype.ngOnChanges&&(e.setInput=CD),ED}function ED(){const e=yc(this),t=e?.current;if(t){const n=e.previous;if(n===En)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function CD(e,t,n,r){const o=yc(e)||function bD(e,t){return e[mc]=t}(e,{previous:En,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new pc(u&&u.currentValue,t,s===En),e[r]=t}const mc="__ngSimpleChanges__";function yc(e){return e[mc]||null}function le(e){for(;Array.isArray(e);)e=e[0];return e}function Ue(e,t){return le(t[e.index])}function ws(e,t){return e.data[t]}function ze(e,t){const n=t[e];return Re(n)?n:n[0]}function So(e){return 64==(64&e[2])}function Gt(e,t){return null==t?null:e[t]}function Dc(e){e[18]=0}function Es(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const x={lFrame:Ac(null),bindingsEnabled:!0};function _c(){return x.bindingsEnabled}function D(){return x.lFrame.lView}function j(){return x.lFrame.tView}function ge(){let e=Cc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Cc(){return x.lFrame.currentTNode}function gt(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function Cs(){return x.lFrame.isParent}function xe(){const e=x.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Sn(){return x.lFrame.bindingIndex++}function jD(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Is(t)}function Is(e){x.lFrame.currentDirectiveIndex=e}function Sc(){return x.lFrame.currentQueryIndex}function Ss(e){x.lFrame.currentQueryIndex=e}function HD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Tc(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=HD(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=x.lFrame=xc();return r.currentTNode=t,r.lView=e,!0}function Ts(e){const t=xc(),n=e[1];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xc(){const e=x.lFrame,t=null===e?null:e.child;return null===t?Ac(e):t}function Ac(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Nc(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Pc=Nc;function xs(){const e=Nc();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ae(){return x.lFrame.selectedIndex}function Wt(e){x.lFrame.selectedIndex=e}function ne(){const e=x.lFrame;return ws(e.tView,e.selectedIndex)}function To(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class vr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function No(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Ps=!0;function Fo(e){const t=Ps;return Ps=e,t}let nv=0;const mt={};function wr(e,t){const n=Os(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Fs(r.data,e),Fs(t,null),Fs(r.blueprint,null));const o=Oo(e,t),i=e.injectorIndex;if(Lc(o)){const s=Tn(o),a=xn(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function Fs(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Os(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Oo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Wc(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ro(e,t,n){!function rv(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(fr)&&(r=n[fr]),null==r&&(r=n[fr]=nv++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:av:t}(n);if("function"==typeof i){if(!Tc(t,e,r))return r&T.Host?Bc(o,0,r):Hc(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;go()}finally{Pc()}}else if("number"==typeof i){let s=null,a=Os(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?Oo(e,t):t[a+8],-1!==u&&Gc(r,!1)?(s=t[1],a=Tn(u),t=xn(u,t)):a=-1);-1!==a;){const c=t[1];if(zc(i,a,c.data)){const d=iv(a,t,n,s,r,l);if(d!==mt)return d}u=t[a+8],-1!==u&&Gc(r,t[1].data[a+8]===l)&&zc(i,a,t)?(s=c,a=Tn(u),t=xn(u,t)):a=-1}}return o}function iv(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=ko(a,s,n,null==r?Co(a)&&Ps:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?Er(t,s,c,a):mt}function ko(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&it(h)&&h.type===n)return u}return null}function Er(e,t,n,r){let o=e[n];const i=t.data;if(function YD(e){return e instanceof vr}(o)){const s=o;s.resolving&&function oD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new I(-200,`Circular dependency in DI detected for ${e}${n}`)}(function $(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}(i[n]));const a=Fo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Ke(s.injectImpl):null;Tc(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function KD(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=gc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Ke(u),Fo(a),s.resolving=!1,Pc()}}return o}function zc(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function Ls(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Pn)?u[Pn]:Object.defineProperty(u,Pn,{value:[]})[Pn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class F{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=H({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ge(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?xt(n,t):t(n))}function Zc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Lo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Mr={},Hs="__NG_DI_FLAG__",jo="ngTempTokenPath",wv=/\n/gm,Jc="__source";let Sr;function kn(e){const t=Sr;return Sr=e,t}function Cv(e,t=T.Default){if(void 0===Sr)throw new I(-203,!1);return null===Sr?ac(e,void 0,t):Sr.get(e,t&T.Optional?null:void 0,t)}function O(e,t=T.Default){return(function fD(){return ds}()||Cv)(S(e),t)}function $s(e){const t=[];for(let n=0;n((ke=ke||{})[ke.Important=1]="Important",ke[ke.DashCase=2]="DashCase",ke))();const qs=new Map;let Uv=0;const Ks="__ngContext__";function be(e,t){Re(t)?(e[Ks]=t[20],function Gv(e){qs.set(e[20],e)}(t)):e[Ks]=t}function Ys(e,t){return undefined(e,t)}function Pr(e){const t=e[3];return ot(t)?t[3]:t}function Js(e){return vd(e[13])}function Xs(e){return vd(e[4])}function vd(e){for(;null!==e&&!ot(e);)e=e[4];return e}function Vn(e,t,n,r,o){if(null!=r){let i,s=!1;ot(r)?i=r:Re(r)&&(s=!0,r=r[0]);const a=le(r);0===e&&null!==n?null==o?Id(t,n,a):hn(t,n,a,o||null,!0):1===e&&null!==n?hn(t,n,a,o||null,!0):2===e?function sa(e,t,n){const r=zo(e,t);r&&function h_(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function m_(e,t,n,r,o){const i=n[7];i!==le(n)&&Vn(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Lo(e,10+t);!function i_(e,t){Fr(e,t,t[R],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Ed(e,t){if(!(128&t[2])){const n=t[R];n.destroyNode&&Fr(e,t,n,3,null,null),function u_(e){let t=e[13];if(!t)return ra(e[1],e);for(;t;){let n=null;if(Re(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Re(t)&&ra(t[1],t),t=t[3];null===t&&(t=e),Re(t)&&ra(t[1],t),n=t&&t[4]}t=n}}(t)}}function ra(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function f_(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i((ce=ce||{})[ce.NONE=0]="NONE",ce[ce.HTML=1]="HTML",ce[ce.STYLE=2]="STYLE",ce[ce.SCRIPT=3]="SCRIPT",ce[ce.URL=4]="URL",ce[ce.RESOURCE_URL=5]="RESOURCE_URL",ce))();function yt(e){const t=function kr(){const e=D();return e&&e[12]}();return t?t.sanitize(ce.URL,e)||"":function Or(e,t){const n=function S_(e){return e instanceof Vd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?function Zt(e){return e instanceof Vd?e.changingThisBreaksApplicationSecurity:e}(e):function fa(e){return(e=String(e)).match(N_)?e:"unsafe:"+e}(A(e))}const Wd=new F("ENVIRONMENT_INITIALIZER"),qd=new F("INJECTOR",-1),Zd=new F("INJECTOR_DEF_TYPES");class Kd{get(t,n=Mr){if(n===Mr){const r=new Error(`NullInjectorError: No provider for ${Z(t)}!`);throw r.name="NullInjectorError",r}return n}}function G_(...e){return{\u0275providers:Qd(0,e)}}function Qd(e,...t){const n=[],r=new Set;let o;return xt(t,i=>{const s=i;ma(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Yd(o,n),n}function Yd(e,t){for(let n=0;n{t.push(i)})}}function ma(e,t,n,r){if(!(e=S(e)))return!1;let o=null,i=ic(e);const s=!i&&G(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=ic(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)ma(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{xt(i.imports,c=>{ma(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&Yd(l,t)}if(!a){const l=fn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:U},{provide:Zd,useValue:o,multi:!0},{provide:Wd,useValue:()=>O(o),multi:!0})}const u=i.providers;null==u||a||xt(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}const W_=q({provide:String,useValue:q});function ya(e){return null!==e&&"object"==typeof e&&W_ in e}function gn(e){return"function"==typeof e}const Da=new F("Set Injector scope."),Qo={},Z_={};let va;function Yo(){return void 0===va&&(va=new Kd),va}class jn{}class ef extends jn{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,wa(t,s=>this.processProvider(s)),this.records.set(qd,Bn(void 0,this)),o.has("environment")&&this.records.set(jn,Bn(void 0,this));const i=this.records.get(Da);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zd.multi,U,T.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=kn(this),r=Ke(void 0);try{return t()}finally{kn(n),Ke(r)}}get(t,n=Mr,r=T.Default){this.assertNotDestroyed();const o=kn(this),i=Ke(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function X_(e){return"function"==typeof e||"object"==typeof e&&e instanceof F}(t)&&mo(t);a=u&&this.injectableDefInScope(u)?Bn(_a(t),Qo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?Yo():this.parent).get(t,n=r&T.Optional&&n===Mr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[jo]=s[jo]||[]).unshift(Z(t)),o)throw s;return function Mv(e,t,n,r){const o=e[jo];throw t[Jc]&&o.unshift(t[Jc]),e.message=function Sv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Z(t);if(Array.isArray(t))o=t.map(Z).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(wv,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[jo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Ke(i),kn(o)}}resolveInjectorInitializers(){const t=kn(this),n=Ke(void 0);try{const r=this.get(Wd.multi,U,T.Self);for(const o of r)o()}finally{kn(t),Ke(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new I(205,!1)}processProvider(t){let n=gn(t=S(t))?t:S(t&&t.provide);const r=function Q_(e){return ya(e)?Bn(void 0,e.useValue):Bn(function tf(e,t,n){let r;if(gn(e)){const o=S(e);return fn(o)||_a(o)}if(ya(e))r=()=>S(e.useValue);else if(function Xd(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...$s(e.deps||[]));else if(function Jd(e){return!(!e||!e.useExisting)}(e))r=()=>O(S(e.useExisting));else{const o=S(e&&(e.useClass||e.provide));if(!function Y_(e){return!!e.deps}(e))return fn(o)||_a(o);r=()=>new o(...$s(e.deps))}return r}(e),Qo)}(t);if(gn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Bn(void 0,Qo,!0),o.factory=()=>$s(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qo&&(n.value=Z_,n.value=n.factory()),"object"==typeof n.value&&n.value&&function J_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=S(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function _a(e){const t=mo(e),n=null!==t?t.factory:fn(e);if(null!==n)return n;if(e instanceof F)throw new I(204,!1);if(e instanceof Function)return function K_(e){const t=e.length;if(t>0)throw function Ir(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new I(204,!1)}function Bn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ew(e){return!!e.\u0275providers}function wa(e,t){for(const n of e)Array.isArray(n)?wa(n,t):ew(n)?wa(n.\u0275providers,t):t(n)}class nf{}class rw{resolveComponentFactory(t){throw function nw(e){const t=Error(`No component factory found for ${Z(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Hn=(()=>{class e{}return e.NULL=new rw,e})();function ow(){return $n(ge(),D())}function $n(e,t){return new Un(Ue(e,t))}let Un=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ow,e})();function iw(e){return e instanceof Un?e.nativeElement:e}class of{}let Ea=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function sw(){const e=D(),n=ze(ge().index,e);return(Re(n)?n:e)[R]}(),e})(),aw=(()=>{class e{}return e.\u0275prov=H({token:e,providedIn:"root",factory:()=>null}),e})();class Jo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const uw=new Jo("14.3.0"),Ca={};function Ia(e){return e.ngOriginalError}class zn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ia(t);for(;n&&Ia(n);)n=Ia(n);return n||null}}function sf(e){return e.ownerDocument}function uf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const lf="ng-template";function Dw(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==uf(h,l,0)||2&r&&l!==f){if(st(r))return!1;s=!0}}}}else{if(!s&&!st(r)&&!st(u))return!1;if(s&&st(u))continue;s=!1,r=u|1&r}}return st(r)||s}function st(e){return 0==(1&e)}function ww(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!st(s)&&(t+=ff(i,o),o=""),r=s,i=i||!st(r);n++}return""!==o&&(t+=ff(i,o)),t}const N={};function de(e){hf(j(),D(),Ae()+e,!1)}function hf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&xo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Ao(t,i,0,n)}Wt(n)}function yf(e,t=null,n=null,r){const o=Df(e,t,n,r);return o.resolveInjectorInitializers(),o}function Df(e,t=null,n=null,r,o=new Set){const i=[n||U,G_(e)];return r=r||("object"==typeof e?void 0:Z(e)),new ef(i,t||Yo(),r||null,o)}let Dt=(()=>{class e{static create(n,r){if(Array.isArray(n))return yf({name:""},r,n,"");{const o=n.name??"";return yf({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Mr,e.NULL=new Kd,e.\u0275prov=H({token:e,providedIn:"any",factory:()=>O(qd)}),e.__NG_ELEMENT_ID__=-1,e})();function L(e,t=T.Default){const n=D();return null===n?O(e,t):$c(ge(),n,S(e),t)}function Rf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rQ&&hf(e,t,Q,!1),n(r,o)}finally{Wt(i)}}function $a(e,t,n){!_c()||(function pE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||wr(n,t),be(r,t);const s=n.initialInputs;for(let a=o;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function zf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Gf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function DE(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&qa(n)}}function qa(e){for(let r=Js(e);null!==r;r=Xs(r))for(let o=10;o0&&qa(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&qa(o)}}function IE(e,t){const n=ze(t,e),r=n[1];(function ME(e,t){for(let n=t.length;n-1&&(na(t,r),Lo(n,r))}this._attachedToViewContainer=!1}Ed(this._lView[1],this._lView)}onDestroy(t){jf(this._lView[1],this._lView,null,t)}markForCheck(){Za(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){si(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function a_(e,t){Fr(e,t,t[R],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t}}class SE extends Lr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;si(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Ya extends Hn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=G(t);return new Vr(n,this.ngModule)}}function Xf(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class xE{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Ca,r);return o!==Ca||n===Ca?o:this.parentInjector.get(t,n,r)}}class Vr extends nf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Sw(e){return e.map(Mw).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Xf(this.componentDef.inputs)}get outputs(){return Xf(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof jn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new xE(t,i):t,a=s.get(of,null);if(null===a)throw new I(407,!1);const u=s.get(aw,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function uE(e,t,n){return e.selectRootElement(t,n===pt.ShadowDom)}(l,r,this.componentDef.encapsulation):ta(l,c,function TE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=za(0,null,null,1,0,null,null,null,null,null),p=ri(null,h,null,f,null,null,a,l,u,s,null);let g,y;Ts(p);try{const v=function PE(e,t,n,r,o,i){const s=n[1];n[22]=e;const u=qn(s,22,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(ai(u,l,!0),null!==e&&(No(o,e,l),null!==u.classes&&ua(o,e,u.classes),null!==u.styles&&Fd(o,e,u.styles)));const c=r.createRenderer(e,t),d=ri(n,Vf(t),null,t.onPush?32:16,n[22],u,r,c,i||null,null,null);return s.firstCreatePass&&(Ro(wr(u,n),s,t.type),Gf(s,u),Wf(u,n.length,1)),ii(n,d),n[22]=d}(d,this.componentDef,p,a,l);if(d)if(r)No(l,d,["ng-version",uw.full]);else{const{attrs:E,classes:m}=function Tw(e){const t=[],n=[];let r=1,o=2;for(;r0&&ua(l,d,m.join(" "))}if(y=ws(h,Q),void 0!==n){const E=y.projection=[];for(let m=0;ma(le(B[r.index])):r.index;let C=null;if(!a&&u&&(C=function JE(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==C)(C.__ngLastListenerFn__||C).__ngNextListenerFn__=i,C.__ngLastListenerFn__=i,h=!1;else{i=Dh(r,t,d,i,!1);const B=n.listen(v,o,i);f.push(i,B),c&&c.push(o,m,E,E+1)}}else i=Dh(r,t,d,i,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[o])){const y=g.length;if(y)for(let v=0;v0;)t=t[15],e--;return t}(e,x.lFrame.contextLView))[8]}(e)}function hi(e,t,n){return ou(e,"",t,"",n),hi}function ou(e,t,n,r,o){const i=D(),s=Qn(i,t,n,r);return s!==N&&qe(j(),ne(),i,e,s,i[R],o,!1),ou}function Y(e,t=""){const n=D(),r=j(),o=e+Q,i=r.firstCreatePass?qn(r,o,1,t,null):r.data[o],s=n[o]=function ea(e,t){return e.createText(t)}(n[R],t);Go(r,n,s,i),gt(i,!1)}function su(e){return Yt("",e,""),su}function Yt(e,t,n){const r=D(),o=Qn(r,e,t,n);return o!==N&&Ft(r,Ae(),o),Yt}function au(e,t,n,r,o){const i=D(),s=Yn(i,e,t,n,r,o);return s!==N&&Ft(i,Ae(),s),au}const Dn=void 0;var jC=["en",[["a","p"],["AM","PM"],Dn],[["AM","PM"],Dn,Dn],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dn,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Dn,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dn,"{1} 'at' {0}",Dn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function VC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ir={};function Pe(e){const t=function HC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ap(t);if(n)return n;const r=t.split("-")[0];if(n=ap(r),n)return n;if("en"===r)return jC;throw new I(701,!1)}function ap(e){return e in ir||(ir[e]=K.ng&&K.ng.common&&K.ng.common.locales&&K.ng.common.locales[e]),ir[e]}var w=(()=>((w=w||{})[w.LocaleId=0]="LocaleId",w[w.DayPeriodsFormat=1]="DayPeriodsFormat",w[w.DayPeriodsStandalone=2]="DayPeriodsStandalone",w[w.DaysFormat=3]="DaysFormat",w[w.DaysStandalone=4]="DaysStandalone",w[w.MonthsFormat=5]="MonthsFormat",w[w.MonthsStandalone=6]="MonthsStandalone",w[w.Eras=7]="Eras",w[w.FirstDayOfWeek=8]="FirstDayOfWeek",w[w.WeekendRange=9]="WeekendRange",w[w.DateFormat=10]="DateFormat",w[w.TimeFormat=11]="TimeFormat",w[w.DateTimeFormat=12]="DateTimeFormat",w[w.NumberSymbols=13]="NumberSymbols",w[w.NumberFormats=14]="NumberFormats",w[w.CurrencyCode=15]="CurrencyCode",w[w.CurrencySymbol=16]="CurrencySymbol",w[w.CurrencyName=17]="CurrencyName",w[w.Currencies=18]="Currencies",w[w.Directionality=19]="Directionality",w[w.PluralCase=20]="PluralCase",w[w.ExtraData=21]="ExtraData",w))();const sr="en-US";let up=sr;class ar{}class Op extends ar{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ya(this);const r=function He(e,t){const n=e[uc]||null;if(!n&&!0===t)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Nt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=Df(t,n,[{provide:ar,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver}],Z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class pu extends class Bb{}{constructor(t){super(),this.moduleType=t}create(t){return new Op(this.moduleType,t)}}function mu(e,t,n,r){return function $p(e,t,n,r,o,i){const s=t+n;return Ie(e,s,o)?_t(e,s+1,i?r.call(i,o):r(o)):Zr(e,s+1)}(D(),xe(),e,t,n,r)}function Zr(e,t){const n=e[t];return n===N?void 0:n}function Zp(e,t,n){const r=e+Q,o=D(),i=function Mn(e,t){return e[t]}(o,r);return function Kr(e,t){return e[1].data[t].pure}(o,r)?function Wp(e,t,n,r,o,i){let s=t+n,a=!1;for(let u=0;u{setTimeout(e,void 0,t)}}const Ot=class p0 extends fo{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=yu(i),o&&(o=yu(o)),s&&(s=yu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof ht&&t.add(a),a}};function g0(){return this._results[mn()]()}class Du{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=mn(),r=Du.prototype;r[n]||(r[n]=g0)}get changes(){return this._changes||(this._changes=new Ot)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Ge(t);(this._changesDetected=!function dv(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=D0,e})();const m0=Rt,y0=class extends m0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=ri(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Ha(r,o,t),new Lr(o)}};function D0(){return vi(ge(),D())}function vi(e,t){return 4&e.type?new y0(t,e,$n(e,t)):null}let Ct=(()=>{class e{}return e.__NG_ELEMENT_ID__=v0,e})();function v0(){return Yp(ge(),D())}const _0=Ct,Kp=class extends _0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return $n(this._hostTNode,this._hostLView)}get injector(){return new An(this._hostTNode,this._hostLView)}get parentInjector(){const t=Oo(this._hostTNode,this._hostLView);if(Lc(t)){const n=xn(t,this._hostLView),r=Tn(t);return new An(n[1].data[r+8],n)}return new An(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Qp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function br(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Vr(G(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(jn,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function ND(e){return ot(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Kp(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function l_(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=wi,this.reject=wi,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(O(bg,8))},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yr=new F("AppId",{providedIn:"root",factory:function Ig(){return`${xu()}${xu()}${xu()}`}});function xu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Mg=new F("Platform Initializer"),Au=new F("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Q0=new F("appBootstrapListener"),kt=new F("LocaleId",{providedIn:"root",factory:()=>function bv(e,t=T.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),O(e,t)}(kt,T.Optional|T.SkipSelf)||function Y0(){return typeof $localize<"u"&&$localize.locale||sr}()}),J0=new F("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),nI=(()=>Promise.resolve(0))();function Nu(e){typeof Zone>"u"?nI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class we{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ot(!1),this.onMicrotaskEmpty=new Ot(!1),this.onStable=new Ot(!1),this.onError=new Ot(!1),typeof Zone>"u")throw new I(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function rI(){let e=K.requestAnimationFrame,t=K.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function sI(e){const t=()=>{!function iI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(K,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Fu(e),e.isCheckStableRunning=!0,Pu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Fu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return xg(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Ag(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return xg(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ag(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Fu(e),Pu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!we.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(we.isInAngularZone())throw new I(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,oI,wi,wi);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const oI={};function Pu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Fu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ag(e){e._nesting--,Pu(e)}class aI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ot,this.onMicrotaskEmpty=new Ot,this.onStable=new Ot,this.onError=new Ot}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Ng=new F(""),Ci=new F("");let ku,Ou=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ku||(function uI(e){ku=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{we.assertNotInAngularZone(),Nu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Nu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(O(we),O(Ru),O(Ci))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),Ru=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ku?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Jt=null;const Pg=new F("AllowMultipleToken"),Lu=new F("PlatformDestroyListeners");function Og(e,t,n=[]){const r=`Platform: ${t}`,o=new F(r);return(i=[])=>{let s=Vu();if(!s||s.injector.get(Pg,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function dI(e){if(Jt&&!Jt.get(Pg,!1))throw new I(400,!1);Jt=e;const t=e.get(kg);(function Fg(e){const t=e.get(Mg,null);t&&t.forEach(n=>n())})(e)}(function Rg(e=[],t){return Dt.create({name:t,providers:[{provide:Da,useValue:"platform"},{provide:Lu,useValue:new Set([()=>Jt=null])},...e]})}(a,r))}return function hI(e){const t=Vu();if(!t)throw new I(401,!1);return t}()}}function Vu(){return Jt?.get(kg)??null}let kg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function Vg(e,t){let n;return n="noop"===e?new aI:("zone.js"===e?void 0:e)||new we(t),n}(r?.ngZone,function Lg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:we,useValue:o}];return o.run(()=>{const s=Dt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(zn,null);if(!u)throw new I(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Ii(this._modules,a),l.unsubscribe()})}),function jg(e,t,n){try{const r=n();return ru(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(Ei);return l.runInitializers(),l.donePromise.then(()=>(function lp(e){Be(e,"Expected localeId to be defined"),"string"==typeof e&&(up=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(kt,sr)||sr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Bg({},r);return function lI(e,t,n){const r=new pu(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(bi);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new I(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new I(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Lu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(O(Dt))},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Bg(e,t){return Array.isArray(t)?t.reduce(Bg,e):{...e,...t}}let bi=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Me(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Me(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{we.assertNotInAngularZone(),Nu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=rc(i,s.pipe(function nD(e={}){const{connector:t=(()=>new fo),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return on((g,y)=>{l++,!d&&!c&&f();const v=u=u??t();y.add(()=>{l--,0===l&&!d&&!c&&(a=is(p,o))}),v.subscribe(y),!s&&l>0&&(s=new dr({next:E=>v.next(E),error:E=>{d=!0,f(),a=is(h,n,E),v.error(E)},complete:()=>{c=!0,f(),a=is(h,r),v.complete()}}),Ht(g).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof nf;if(!this._injector.get(Ei).done)throw!o&&function hr(e){const t=G(e)||Se(e)||Te(e);return null!==t&&t.standalone}(n),new I(405,false);let s;s=o?n:this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function cI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ar),l=s.create(Dt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(Ng,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Ii(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new I(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ii(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Q0,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ii(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(O(we),O(jn),O(zn))},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ii(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let $g=!0,Gg=(()=>{class e{}return e.__NG_ELEMENT_ID__=mI,e})();function mI(e){return function yI(e,t,n){if(Co(e)&&!n){const r=ze(e.index,t);return new Lr(r,r)}return 47&e.type?new Lr(t[16],t):null}(ge(),D(),16==(16&e))}class Yg{constructor(){}supports(t){return t instanceof Map||Xa(t)}create(){return new MI}}class MI{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Xa(t)))throw new I(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new SI(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class SI{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Xg(){return new Jr([new Yg])}let Jr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Xg()),deps:[[e,new Ho,new Bo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e.\u0275prov=H({token:e,providedIn:"root",factory:Xg}),e})();const AI=Og(null,"core",[]);let NI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(O(bi))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({}),e})(),xi=null;function Xr(){return xi}const bt=new F("DocumentToken"),tm={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ve=(()=>((Ve=Ve||{})[Ve.Decimal=0]="Decimal",Ve[Ve.Percent=1]="Percent",Ve[Ve.Currency=2]="Currency",Ve[Ve.Scientific=3]="Scientific",Ve))(),b=(()=>((b=b||{})[b.Decimal=0]="Decimal",b[b.Group=1]="Group",b[b.List=2]="List",b[b.PercentSign=3]="PercentSign",b[b.PlusSign=4]="PlusSign",b[b.MinusSign=5]="MinusSign",b[b.Exponential=6]="Exponential",b[b.SuperscriptingExponent=7]="SuperscriptingExponent",b[b.PerMille=8]="PerMille",b[b.Infinity=9]="Infinity",b[b.NaN=10]="NaN",b[b.TimeSeparator=11]="TimeSeparator",b[b.CurrencyDecimal=12]="CurrencyDecimal",b[b.CurrencyGroup=13]="CurrencyGroup",b))();function et(e,t){const n=Pe(e),r=n[w.NumberSymbols][t];if(typeof r>"u"){if(t===b.CurrencyDecimal)return n[w.NumberSymbols][b.Decimal];if(t===b.CurrencyGroup)return n[w.NumberSymbols][b.Group]}return r}const uM=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function fM(e,t,n,r,o){const s=function Ku(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),o=r[0],i=r[1],s=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let c=0;c-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;"0"===t.charAt(i);i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;"0"===t.charAt(a);)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>22&&(r=r.splice(0,21),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}(e);s&&(l=function gM(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let c=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){const E=i.match(uM);if(null===E)throw new Error(`${i} is not a valid digit info`);const m=E[1],C=E[3],B=E[5];null!=m&&(c=Qu(m)),null!=C&&(d=Qu(C)),null!=B?f=Qu(B):null!=C&&d>f&&(f=d)}!function yM(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen;const i=Math.min(Math.max(t,o),n);let s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=l?p.pop():u=!1),f>=10?1:0},0);c&&(r.unshift(c),e.integerLen++)}(l,d,f);let h=l.digits,p=l.integerLen;const g=l.exponent;let y=[];for(u=h.every(E=>!E);p0?y=h.splice(p,h.length):(y=h,h=[0]);const v=[];for(h.length>=t.lgSize&&v.unshift(h.splice(-t.lgSize,h.length).join(""));h.length>t.gSize;)v.unshift(h.splice(-t.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(et(n,r)),y.length&&(a+=et(n,o)+y.join("")),g&&(a+=et(n,b.Exponential)+"+"+g)}else a=et(n,b.Infinity);return a=e<0&&!u?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}(e,s,t,b.CurrencyGroup,b.CurrencyDecimal,o).replace("\xa4",n).replace("\xa4","").trim()}function Qu(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function lm(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let hm=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new IM,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){pm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){pm("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(L(Ct),L(Rt))},e.\u0275dir=Qe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class IM{constructor(){this.$implicit=null,this.ngIf=null}}function pm(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Z(t)}'.`)}let mm=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:ke.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return e.\u0275fac=function(n){return new(n||e)(L(Un),L(Jr),L(Ea))},e.\u0275dir=Qe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})();let Dm=(()=>{class e{constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!function el(e){return!(null==e||""===e||e!=e)}(n))return null;s=s||this._locale,"boolean"==typeof o&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;"code"!==o&&(a="symbol"===o||"symbol-narrow"===o?function WI(e,t,n="en"){const r=function $I(e){return Pe(e)[w.Currencies]}(n)[e]||tm[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}(a,"symbol"===o?"wide":"narrow",s):o);try{return fM(function tl(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(n),s,a,r,i)}catch(u){throw function ft(e,t){return new I(2100,!1)}()}}}return e.\u0275fac=function(n){return new(n||e)(L(kt,16),L(J0,16))},e.\u0275pipe=Oe({name:"currency",type:e,pure:!0,standalone:!0}),e})();let QM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({}),e})();class wm{}class ol extends class SS extends class OI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function FI(e){xi||(xi=e)}(new ol)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function TS(){return ro=ro||document.querySelector("base"),ro?ro.getAttribute("href"):null}();return null==n?null:function xS(e){Hi=Hi||document.createElement("a"),Hi.setAttribute("href",e);const t=Hi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){ro=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return lm(document.cookie,t)}}let Hi,ro=null;const Mm=new F("TRANSITION_ID"),NS=[{provide:bg,useFactory:function AS(e,t,n){return()=>{n.get(Ei).donePromise.then(()=>{const r=Xr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const $i=new F("EventManagerPlugins");let Ui=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),oo=(()=>{class e extends Tm{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(xm),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(xm))}}return e.\u0275fac=function(n){return new(n||e)(O(bt))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();function xm(e){Xr().remove(e)}const il={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},sl=/%COMP%/g;function zi(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let al=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new ul(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case pt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new jS(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case pt.ShadowDom:return new BS(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=zi(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(O(Ui),O(oo),O(Yr))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();class ul{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(il[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Om(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Om(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=il[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=il[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ke.DashCase|ke.Important)?t.style.setProperty(n,r,o&ke.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ke.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Pm(r)):this.eventManager.addEventListener(t,n,Pm(r))}}function Om(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class jS extends ul{constructor(t,n,r,o){super(t),this.component=r;const i=zi(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function kS(e){return"_ngcontent-%COMP%".replace(sl,e)}(o+"-"+r.id),this.hostAttr=function LS(e){return"_nghost-%COMP%".replace(sl,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class BS extends ul{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=zi(o.id,o.styles,[]);for(let s=0;s{class e extends Sm{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(O(bt))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const Rm=["alt","control","meta","shift"],$S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},US={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let zS=(()=>{class e extends Sm{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Rm.forEach(l=>{const c=r.indexOf(l);c>-1&&(r.splice(c,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=$S[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Rm.forEach(s=>{s!==o&&(0,US[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(O(bt))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const ZS=Og(AI,"browser",[{provide:Au,useValue:"browser"},{provide:Mg,useValue:function GS(){ol.makeCurrent()},multi:!0},{provide:bt,useFactory:function qS(){return function w_(e){ca=e}(document),document},deps:[]}]),Vm=new F(""),jm=[{provide:Ci,useClass:class PS{addToWindow(t){K.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},K.getAllAngularTestabilities=()=>t.getAllTestabilities(),K.getAllAngularRootElements=()=>t.getAllRootElements(),K.frameworkStabilizers||(K.frameworkStabilizers=[]),K.frameworkStabilizers.push(r=>{const o=K.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Xr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ng,useClass:Ou,deps:[we,Ru,Ci]},{provide:Ou,useClass:Ou,deps:[we,Ru,Ci]}],Bm=[{provide:Da,useValue:"root"},{provide:zn,useFactory:function WS(){return new zn},deps:[]},{provide:$i,useClass:HS,multi:!0,deps:[bt,we,Au]},{provide:$i,useClass:zS,multi:!0,deps:[bt]},{provide:al,useClass:al,deps:[Ui,oo,Yr]},{provide:of,useExisting:al},{provide:Tm,useExisting:oo},{provide:oo,useClass:oo,deps:[bt]},{provide:Ui,useClass:Ui,deps:[$i,we]},{provide:wm,useClass:FS,deps:[]},[]];let KS=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Yr,useValue:n.appId},{provide:Mm,useExisting:Yr},NS]}}}return e.\u0275fac=function(n){return new(n||e)(O(Vm,12))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({providers:[...Bm,...jm],imports:[QM,NI]}),e})();typeof window<"u"&&window;class Um{}class zm{}class jt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof jt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new jt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof jt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class uT{encodeKey(t){return Gm(t)}encodeValue(t){return Gm(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const cT=/%(\d[a-f0-9])/gi,dT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gm(e){return encodeURIComponent(e).replace(cT,(t,n)=>dT[n]??t)}function Gi(e){return`${e}`}class en{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new uT,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function lT(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Gi):[Gi(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new en({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Gi(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Gi(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class fT{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Wm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function qm(e){return typeof Blob<"u"&&e instanceof Blob}function Zm(e){return typeof FormData<"u"&&e instanceof FormData}class io{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function hT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new jt),this.context||(this.context=new fT),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new io(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var pe=(()=>((pe=pe||{})[pe.Sent=0]="Sent",pe[pe.UploadProgress=1]="UploadProgress",pe[pe.ResponseHeader=2]="ResponseHeader",pe[pe.DownloadProgress=3]="DownloadProgress",pe[pe.Response=4]="Response",pe[pe.User=5]="User",pe))();class dl{constructor(t,n=200,r="OK"){this.headers=t.headers||new jt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class fl extends dl{constructor(t={}){super(t),this.type=pe.ResponseHeader}clone(t={}){return new fl({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Wi extends dl{constructor(t={}){super(t),this.type=pe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Wi({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Km extends dl{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function hl(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Qm=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof io)i=n;else{let u,l;u=o.headers instanceof jt?o.headers:new jt(o.headers),o.params&&(l=o.params instanceof en?o.params:new en({fromObject:o.params})),i=new io(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=function iT(...e){return nc(e,Jl(e))}(i).pipe(function sT(e,t){return te(t)?ho(e,t,1):ho(e,1)}(u=>this.handler.handle(u)));if(n instanceof io||"events"===o.observe)return s;const a=s.pipe(function aT(e,t){return on((n,r)=>{let o=0;n.subscribe(sn(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof Wi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(wn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(wn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(wn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(wn(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new en).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,hl(o,r))}post(n,r,o={}){return this.request("POST",n,hl(o,r))}put(n,r,o={}){return this.request("PUT",n,hl(o,r))}}return e.\u0275fac=function(n){return new(n||e)(O(Um))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();class Ym{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const Jm=new F("HTTP_INTERCEPTORS");let gT=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const mT=/^\)\]\}',?\n/;let Xm=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Me(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new jt(o.getAllResponseHeaders()),g=function yT(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new fl({headers:p,status:o.status,statusText:h,url:g}),s},u=()=>{let{headers:h,status:p,statusText:g,url:y}=a(),v=null;204!==p&&(v=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=v?200:0);let E=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof v){const m=v;v=v.replace(mT,"");try{v=""!==v?JSON.parse(v):null}catch(C){v=m,E&&(E=!1,v={error:C,text:v})}}E?(r.next(new Wi({body:v,headers:h,status:p,statusText:g,url:y||void 0})),r.complete()):r.error(new Km({error:v,headers:h,status:p,statusText:g,url:y||void 0}))},l=h=>{const{url:p}=a(),g=new Km({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:pe.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:pe.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:pe.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(O(wm))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})();const pl=new F("XSRF_COOKIE_NAME"),gl=new F("XSRF_HEADER_NAME");class ey{}let DT=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=lm(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(O(bt),O(Au),O(pl))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),ml=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(O(ey),O(gl))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),vT=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(Jm,[]);this.chain=r.reduceRight((o,i)=>new Ym(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(O(zm),O(Dt))},e.\u0275prov=H({token:e,factory:e.\u0275fac}),e})(),_T=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:ml,useClass:gT}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:pl,useValue:n.cookieName}:[],n.headerName?{provide:gl,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({providers:[ml,{provide:Jm,useExisting:ml,multi:!0},{provide:ey,useClass:DT},{provide:pl,useValue:"XSRF-TOKEN"},{provide:gl,useValue:"X-XSRF-TOKEN"}]}),e})(),wT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({providers:[Qm,{provide:Um,useClass:vT},Xm,{provide:zm,useExisting:Xm}],imports:[_T.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})();const _e=void 0,CT=["it",[["m.","p."],["AM","PM"],_e],_e,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],_e,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],_e,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",_e,"{1} {0}",_e],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[_e,"R$"],BYN:[_e,"Br"],EGP:[_e,"\xa3E"],HKD:[_e,"$"],INR:[_e,"\u20b9"],JPY:[_e,"\xa5"],KRW:[_e,"\u20a9"],MXN:[_e,"$"],NOK:[_e,"NKr"],THB:["\u0e3f"],TWD:[_e,"NT$"],USD:[_e,"$"],VND:[_e,"\u20ab"]},"ltr",function ET(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,o=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===n&&0===r?1:0===o&&0!==n&&n%1e6==0&&0===r||!(o>=0&&o<=5)?4:5}],tn={production:!0,storeId:"5d2ea00f4abed5000118fad3",creditValue:parseInt("50000"),imageBaseUrl:"https://stoprdeu2appsimulator.blob.core.windows.net/integraciones/simulator/assets/img/",dataKeyOnBoarding:"63173ad4dd4b8420dc151c7f",productNameOnBoarding:"OnBoarding",activeOnBoarding:"false"},bT={"Ocp-Apim-Subscription-Key":"20a09a82fe574408bcc22d148a684e54",SCLocation:"0,0",SCOrigen:"Production",country:"co"};var qi=(()=>{return(e=qi||(qi={})).calculate="Estamos calculando el valor de las cuotas para que te lleves este producto con",e.buy="Compra con",e.in="en",e.fee="cuotas de",e.monthly="/mensual.",e.credit="Solicita tu cupo.",qi;var e})();let IT=(()=>{class e{constructor(n){this.http=n}getData(n,r){return this.http.get(`https://api.credinet.co/simulator/getTotalFeeValue?creditValue=${n}&storeId=${r}`,{headers:bT})}}return e.\u0275fac=function(n){return new(n||e)(O(Qm))},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const MT=["visorApp"];function ST(e,t){if(1&e&&(W(0,"div",6)(1,"span",7),Y(2),ie(),Ze(3,"img",8),Y(4,". "),ie()),2&e){const n=Hr();de(2),Yt("",n.SimulatorConstants.calculate," "),de(1),Le("src",n.imageBaseUrl+"sistecredito-logo.png",yt)}}const TT=function(e){return[e,"COP","","1.0","it"]};function xT(e,t){if(1&e&&(W(0,"span",7),Y(1),W(2,"strong",12),Y(3),ie(),Y(4),W(5,"strong"),Y(6),function qp(e,t){const n=j();let r;const o=e+Q;n.firstCreatePass?(r=function l0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=fn(r.type)),s=Ke(L);try{const a=Fo(!1),u=i();return Fo(a),function qE(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,u),u}finally{Ke(s)}}(7,"currency"),ie()()),2&e){const n=Hr(2);de(1),Yt(" ",n.SimulatorConstants.in," "),de(2),su(n.fees),de(1),Yt(" ",n.SimulatorConstants.fee,""),de(2),au(" $",Zp(7,5,mu(11,TT,n.totalFeeValue)),"",n.SimulatorConstants.monthly," ")}}function AT(e,t){if(1&e){const n=function hh(){return D()}();W(0,"div",6)(1,"span",7),Y(2),Ze(3,"img",8),ie(),di(4,xT,8,13,"span",9),Ze(5,"br",10)(6,"br",10),W(7,"a",11),fi("click",function(){!function wc(e){return x.lFrame.contextLView=e,e[8]}(n);const o=Hr();return function Ec(e){return x.lFrame.contextLView=null,e}(o.openOnBoarding(o.productNameOnBoarding))}),W(8,"strong"),Y(9),ie()()()}if(2&e){const n=Hr();de(2),Yt("",n.SimulatorConstants.buy," "),de(1),Le("src",n.imageBaseUrl+"sistecredito-logo.png",yt),de(1),Le("ngIf",n.fees>0),de(5),Yt(" ",n.SimulatorConstants.credit,"")}}!function vM(e,t,n){(function BC(e,t,n){"string"!=typeof t&&(n=t,t=e[w.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ir[t]=e,n&&(ir[t][w.ExtraData]=n)})(e,t,n)}(CT,"it");let NT=(()=>{class e{constructor(n){this.apiService=n,this.storeId=tn.storeId,this.creditValue=tn.creditValue,this.productNameOnBoarding=tn.productNameOnBoarding,this.fees=0,this.totalFeeValue=0,this.loading=!0,this.imageBaseUrl=tn.imageBaseUrl}set store(n){this.storeId=n}set total(n){this.creditValue=n}onScVisorError(){this.redirectToPersons()}ngAfterViewInit(){this.createScriptVisor(),this.visorApp()}ngOnInit(){this.ifVtex(),this.getCredits()}ifVtex(){const n=document.getElementsByClassName("skuPrice"),r=document.getElementsByClassName("skuBestPrice");if(n.length>0||r.length>0){let o=n[0].innerHTML.split(",",1);this.creditValue=parseInt(o[0].replace(/\D/g,""))}}getCredits(){this.apiService.getData(this.creditValue,this.storeId).subscribe(n=>{this.loading=!1,this.fees=n.data.fees,this.totalFeeValue=n.data.totalFeeValue},()=>{this.loading=!1})}createScriptVisor(){const n=document.createElement("script");n.setAttribute("id","visor"),n.setAttribute("data-key",tn.dataKeyOnBoarding),n.setAttribute("src","https://stoprdeu2sistepayecomerc.blob.core.windows.net/ecommerce/visor/visor.js");const r=document.querySelector("#visor");r&&r.remove(),document.body.appendChild(n)}visorApp(){let n={externalPageRedirection:"false",buttonFloating:"false",defaultButtonHidden:"true",openModal:"false",storeId:this.storeId,finalUrl:window.location.href};this.appVisor?.nativeElement.setAttribute("options",JSON.stringify(n))}openOnBoarding(n){if(tn.activeOnBoarding){let r=new CustomEvent("sc:visor:open",{detail:n});document.dispatchEvent(r)}else this.redirectToPersons()}redirectToPersons(){window.open("https://www.sistecredito.com/qrtiendas.html","_blank")}get SimulatorConstants(){return qi}}return e.\u0275fac=function(n){return new(n||e)(L(IT))},e.\u0275cmp=vo({type:e,selectors:[["app-simulator"]],viewQuery:function(n,r){if(1&n&&tg(MT,5),2&n){let o;eg(o=function ng(){return function T0(e,t){return e[19].queries[t].queryList}(D(),Sc())}())&&(r.appVisor=o.first)}},hostBindings:function(n,r){1&n&&fi("sc:visor:error",function(){return r.onScVisorError()},0,sf)},inputs:{store:"store",total:"total"},decls:7,vars:5,consts:[[3,"id","app"],["visorApp",""],[1,"sc-simulador-box"],[1,"sc-simulador-box__icon-container","sc-icon-container"],["alt","logosimbolo-siste",1,"sc-icon-container__logosimbolo-siste",3,"src"],["class","sc-simulador-box__container-info sc-container-info",4,"ngIf"],[1,"sc-simulador-box__container-info","sc-container-info"],[1,"sc-container-info__plain-text"],["alt","logo-siste",1,"sc-container-info__logotipo-siste",3,"src"],["class","sc-container-info__plain-text",4,"ngIf"],[1,"sc-container-info__link-br"],["id","link","target","_blank",3,"click"],[1,"fees"]],template:function(n,r){1&n&&(Ze(0,"app-visor",0,1),W(2,"main",2)(3,"div",3),Ze(4,"img",4),ie(),di(5,ST,5,2,"div",5),di(6,AT,10,4,"div",5),ie()),2&n&&(hi("id",r.productNameOnBoarding),hi("app",r.productNameOnBoarding),de(4),Le("src",r.loading?r.imageBaseUrl+"sistecredito-loading.gif":r.imageBaseUrl+"getsitelogo.png",yt),de(1),Le("ngIf",r.loading),de(1),Le("ngIf",!r.loading))},dependencies:[hm,Dm],styles:['@import"https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800;900&display=swap";*[_ngcontent-%COMP%]{margin:0;padding:0;box-sizing:border-box;font-family:Red Hat Display;line-height:1.2em}.sc-simulador-box[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:left;align-items:center;padding:.5em .8em;width:-moz-fit-content;width:fit-content;min-height:-moz-fit-content;min-height:fit-content;margin:.65em 0;border:1px solid #00369C;border-radius:8px;opacity:1}.sc-simulador-box__icon-container[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-icon-container[_ngcontent-%COMP%]{display:flex;height:100%;margin-right:.5em;margin-bottom:0}.sc-simulador-box__icon-container__logosimbolo-siste[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-icon-container__logosimbolo-siste[_ngcontent-%COMP%]{width:2em}.sc-simulador-box__container-info[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-container-info[_ngcontent-%COMP%]{flex-direction:row;vertical-align:middle;width:100%;height:100%;margin:0}.sc-simulador-box__container-info__logotipo-siste[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-container-info__logotipo-siste[_ngcontent-%COMP%]{display:inline-block;vertical-align:baseline;height:.75em;width:7em}.sc-simulador-box__container-info__plain-text[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-container-info__plain-text[_ngcontent-%COMP%]{line-height:normal;color:#000}.sc-simulador-box__container-info__link-br[_ngcontent-%COMP%], .sc-simulador-box[_ngcontent-%COMP%] .sc-container-info__link-br[_ngcontent-%COMP%]{display:none}#link[_ngcontent-%COMP%]{color:#00369c;text-decoration:underline;cursor:pointer}@media (max-width: 270px){.sc-simulador-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:-moz-fit-content;min-width:fit-content;padding:8px}}']}),e})();const ny={now:()=>(ny.delegate||Date).now(),delegate:void 0};class PT extends fo{constructor(t=1/0,n=1/0,r=ny){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;sclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Zi.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Zi.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Dl;function $T(e,t,n){let r=n;return function RT(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function LT(e,t){if(!Dl){const n=Element.prototype;Dl=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Dl.call(e,t)}(e,o)||(r=i,0))),r}class zT{constructor(t,n){this.componentFactory=n.get(Hn).resolveComponentFactory(t)}create(t){return new GT(this.componentFactory,t)}}class GT{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new PT(1),this.events=this.eventEmitters.pipe(function FT(e,t){return on((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(sn(r,u=>{o?.unsubscribe();let l=0;const c=i++;Ht(e(u,c)).subscribe(o=sn(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>rc(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(we),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Zi.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function VT(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=Dt.create({providers:[],parent:this.injector}),r=function HT(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(wn(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Zi.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new pc(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class WT extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function ry(e,t){const n=function BT(e,t){return t.get(Hn).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new zT(e,t.injector),o=function jT(e){const t={};return e.forEach(({propName:n,templateName:r})=>{t[function OT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=n}),t}(n);class i extends WT{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const l=this[u];delete this[u],a.setInputValue(u,l)})}return this._ngElementStrategy}attributeChangedCallback(a,u,l,c){this.ngElementStrategy.setInputValue(o[a],l)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return i.observedAttributes=Object.keys(o),n.forEach(({propName:s})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),i}const qT=function(e){return{"background-image":e}};let ZT=(()=>{class e{constructor(n){this.renderer=n,this.imageBaseUrl=tn.imageBaseUrl}ngOnInit(){this.hiddenPaymentAmountOnVtex(),this.hiddenPaymentDescriptionOnVtex()}hiddenPaymentDescriptionOnVtex(){const n=document.querySelector(".SisteCreditoPaymentGroup .payment-description");n&&this.renderer.setStyle(n,"display","none")}hiddenPaymentAmountOnVtex(){const n=document.querySelector(".SisteCreditoPaymentGroup .installments");n&&this.renderer.setStyle(n,"display","none")}}return e.\u0275fac=function(n){return new(n||e)(L(Ea))},e.\u0275cmp=vo({type:e,selectors:[["app-checkout-banner"]],decls:46,vars:8,consts:[[1,"body"],[1,"container-header"],[1,"container-header__logo",3,"ngStyle"],[1,"container-header__header-text"],[1,"container-card"],[1,"container-card__info"],["alt","",1,"container-card__img",3,"src"],[1,"container-card__text"],[1,"text--bold-700"],[1,"container-footer"],["alt","",3,"src"],[1,"container-footer__text"],["href","https://sistecredito.com/qrtiendas.html","target","_blank",1,"link--style"]],template:function(n,r){1&n&&(W(0,"div",0)(1,"div")(2,"header",1),Ze(3,"div",2),W(4,"p",3),Y(5," La forma sencilla y segura de comprar lo que necesitas y pagarlo despu\xe9s "),ie()(),W(6,"section",4)(7,"div",5),Ze(8,"img",6),W(9,"p",7),Y(10," Puedes "),W(11,"span",8),Y(12,"usar tu cupo para varias compras desde su aprobaci\xf3n"),ie(),Y(13," y se libera a medida que pagas las cuotas para que puedas utilizarlo de nuevo. "),ie()(),W(14,"div",5),Ze(15,"img",6),W(16,"p",7),Y(17," M\xe1s de "),W(18,"span",8),Y(19,"30 mil tiendas"),ie(),Y(20," f\xedsicas y virtuales para tus compras. "),ie()(),W(21,"div",5),Ze(22,"img",6),W(23,"p",7),Y(24," Solicita "),W(25,"span",8),Y(26,"el aumento de tu cupo f\xe1cil y r\xe1pido."),ie()()(),W(27,"div",5),Ze(28,"img",6),W(29,"p",7)(30,"span",8),Y(31,"M\xfaltiples alternativas de pago para tus cuotas:"),ie(),Y(32," Puntos de venta, PSE o bot\xf3n Bancolombia a trav\xe9s de sistecredito.com, Efecty, Gana y App Sistecr\xe9dito. "),ie()()()(),W(33,"footer",9),Ze(34,"img",10),W(35,"p",11),Y(36," Al dar clic en "),W(37,"span",8),Y(38,"comprar ahora,"),ie(),Y(39," ser\xe1s dirigido a nuestra plataforma de pago. Si no tienes cupo "),W(40,"a",12)(41,"span",8),Y(42,"solic\xedtalo"),ie()(),Y(43,", te tomar\xe1 solo "),W(44,"span",8),Y(45,"5 minutos."),ie()()()()),2&n&&(de(3),Le("ngStyle",mu(6,qT,"url("+r.imageBaseUrl+"banner-checkout/Logo.svg)")),de(5),Le("src",r.imageBaseUrl+"banner-checkout/manito.svg",yt),de(7),Le("src",r.imageBaseUrl+"banner-checkout/casita.svg",yt),de(7),Le("src",r.imageBaseUrl+"banner-checkout/estadisticas.svg",yt),de(6),Le("src",r.imageBaseUrl+"banner-checkout/precio.svg",yt),de(6),Le("src",r.imageBaseUrl+"banner-checkout/Custom.svg",yt))},dependencies:[mm],styles:["*[_ngcontent-%COMP%]{margin:0;padding:0}.body[_ngcontent-%COMP%]{background-image:url(https://stonprdeu2appsimulator.blob.core.windows.net/integraciones-dev/simulator/assets/img/banner-checkout/fondo_mobile.png);width:87vw;max-width:370px;height:100vh;max-height:700px;font-family:Red Hat Display,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:20px;color:#2c2a29;background-repeat:no-repeat;background-size:100vw 100vh;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.container-header[_ngcontent-%COMP%]{width:100%;max-width:291px;margin:0 auto 16px}.container-header__logo[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:167px 20px;background-position:center;height:20px;margin-top:24px;margin-bottom:16px}.container-header__header-text[_ngcontent-%COMP%]{color:#fff;text-align:center;font-weight:500}.container-card[_ngcontent-%COMP%]{width:60vw;margin:0 12px 24px;padding:24px 16px 24px 39px;flex-direction:column;align-items:flex-end;border-radius:8px;background:var(--neutral-black-0, #fff);box-shadow:0 3px 16px #12284c29}.container-card__info[_ngcontent-%COMP%]{display:flex;margin-bottom:30px;align-items:center}.container-card__info[_ngcontent-%COMP%]:last-child{margin-bottom:0}.container-card__img[_ngcontent-%COMP%]{border-radius:38px;box-shadow:-1.7px 2px 32px 1px #0003;margin-left:-50px}.container-card__text[_ngcontent-%COMP%]{margin-left:5px}.container-footer[_ngcontent-%COMP%]{box-sizing:border-box;width:87vw;max-width:370px;display:flex;padding:8px 16px;justify-content:center;align-items:center;align-content:center;border-radius:8px 8px 0 0;background:#2f71ee}.container-footer__text[_ngcontent-%COMP%]{color:#fff;font-size:12px;line-height:16px;margin-left:8px}.text--bold-700[_ngcontent-%COMP%]{font-weight:700}.link--style[_ngcontent-%COMP%]{text-decoration:none;color:#fff}@media screen and (min-width: 426px){.body[_ngcontent-%COMP%]{background-image:url(https://stonprdeu2appsimulator.blob.core.windows.net/integraciones-dev/simulator/assets/img/banner-checkout/fondo-desktop.png);background-size:100% 100vh}.container-header__logo[_ngcontent-%COMP%]{background-size:238px 28px;height:28px}.container-header__header-text[_ngcontent-%COMP%]{font-size:16px;line-height:24px}.container-card[_ngcontent-%COMP%]{width:auto;margin:0 24px 24px;padding:24px 32px 24px 48px}.container-card__info[_ngcontent-%COMP%]{margin-bottom:20px}.container-card__img[_ngcontent-%COMP%]{margin-left:-60px}.container-footer[_ngcontent-%COMP%]{padding:8px 24px}}"]}),e})(),KT=(()=>{class e{componentBannerVtex(){const n=new MutationObserver(function(o){for(const i of o)"childList"===i.type&&i.addedNodes.forEach(a=>{a instanceof HTMLElement&&a.classList.contains("SisteCreditoPaymentGroup")&&r(a)})}),r=o=>{document.querySelector("app-checkout-banner")?.remove(),o.appendChild(document.createElement("app-checkout-banner"))};n.observe(document.body,{childList:!0,subtree:!0})}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),QT=(()=>{class e{constructor(n,r){this.injector=n,this.vtexService=r}ngDoBootstrap(){const n=ry(NT,{injector:this.injector});customElements.define("app-simulator",n);const r=ry(ZT,{injector:this.injector});customElements.define("app-checkout-banner",r),this.vtexService.componentBannerVtex()}}return e.\u0275fac=function(n){return new(n||e)(O(Dt),O(KT))},e.\u0275mod=an({type:e}),e.\u0275inj=Ut({imports:[KS,wT]}),e})();tn.production&&function gI(){$g=!1}(),ZS().bootstrapModule(QT).catch(e=>console.error(e))}},te=>{te(te.s=913)}]);